package com.tianyuan.lims.utils;

import java.util.ArrayList;
import java.util.List;

public class ApprovalFlow {
    public  ApprovalFlow NONE = create("NONE", "", -128, "", "");

    public  ApprovalFlow RSP = create("RSP", "任务审批", 1, "任务审批", "任务审批");

    public  ApprovalFlow YFX = create("YFX", ApprovalFlowConstants.ysjl_fenxi, 15, "实验分析", "分析");
    public  ApprovalFlow YFH = create("YFH", ApprovalFlowConstants.ysjl_fuhe, 30, "原始记录复核", "复核");
    public  ApprovalFlow YSH = create("YSH", ApprovalFlowConstants.ysjl_shenhe, 45, "原始记录审核", "审核");
    public  ApprovalFlow YZF = create("YZF", ApprovalFlowConstants.ysjl_zhikongfuhe, 55, "原始记录质控复核", "质控复核");
    public  ApprovalFlow YZK = create("YZK", ApprovalFlowConstants.ysjl_zhikong, 60, "原始记录质控审核", "质控审核");

    public  int ReportStartAnchorCode = 65;

    public  ApprovalFlow BDB = create("BDB", ApprovalFlowConstants.baogao_databianzhi, 68, "数据编制", "数据编制");
    public  ApprovalFlow BDF = create("BDF", ApprovalFlowConstants.baogao_datafuhe, 69, "数据复核", "数据复核");
    public  ApprovalFlow BDS = create("BDS", ApprovalFlowConstants.baogao_datashenhe, 70, "数据审核", "数据审核");
    public  ApprovalFlow BZK = create("BZK", ApprovalFlowConstants.baogao_zhikong, 72, "质控审核", "质控审核");

    public  ApprovalFlow BBZ = create("BBZ", ApprovalFlowConstants.baogao_bianzhi, 75, "报告编制", "报告编制");
    //一审
    public  ApprovalFlow BFH = create("BFH", ApprovalFlowConstants.baogao_fuhe, 80, "报告复核", "报告复核");
    //二审
    public  ApprovalFlow BSH = create("BSH", ApprovalFlowConstants.baogao_shenhe, 85, "报告审核", "报告审核");
    //授权签字人
    public  ApprovalFlow BQS = create("BQS", ApprovalFlowConstants.baogao_qianshen, 86, "授权签字审核", "授权签字审核");
    //报告修订
    public  ApprovalFlow BBX = create("BBX", ApprovalFlowConstants.baogao_xiuding, 88, "报告修订", "报告修订");
    //报告修订核对
    public  ApprovalFlow BBH = create("BBH", ApprovalFlowConstants.baogao_xiuhe, 89, "报告核对", "报告核对");

    public  ApprovalFlow BQF = create("BQF", ApprovalFlowConstants.baogao_qianfa, 90, "报告签发", "报告签发");


    public  ApprovalFlow OVE = create("OVE", "", 95, "任务结束", "任务结束");
    public  ApprovalFlow BFL = create("BFL", "", 0, "报告跟随", "报告跟随");

    /***
     * YFX
     */
    private String flowzhuizong;

    /**
     * ysjl_fenxi
     */
    private String flowOldName;

    /**
     * 15
     */
    private int flowCode;

    /**
     * 分析
     */
    private String flowDisplayName;

    private String flowBriefName;

    public String getFlowzhuizong() {
        return flowzhuizong;
    }

    public void setFlowzhuizong(String flowzhuizong) {
        this.flowzhuizong = flowzhuizong;
    }

    /**
     * ysjl_fenxi ysjl_ ...
     */
    public String getFlowOldName() {
        return flowOldName;
    }

    public void setFlowOldName(String flowOldName) {
        this.flowOldName = flowOldName;
    }

    public int getFlowCode() {
        return flowCode;
    }

    public void setFlowCode(int flowCode) {
        this.flowCode = flowCode;
    }

    public String getFlowDisplayName() {
        return flowDisplayName;
    }

    public void setFlowDisplayName(String flowDisplayName) {
        this.flowDisplayName = flowDisplayName;
    }

    public  ApprovalFlow create(String flowzhuizong, String flowOldName, int flowCode, String flowDisplayName, String flowBriefName ) {
        ApprovalFlow approvalFlow = new ApprovalFlow();

        approvalFlow.flowzhuizong = flowzhuizong;
        approvalFlow.flowOldName = flowOldName;
        approvalFlow.flowCode = flowCode;
        approvalFlow.flowDisplayName = flowDisplayName;
        approvalFlow.flowBriefName = flowBriefName;

        return approvalFlow;
    }

    public String getFlowBriefName() {
        return flowBriefName;
    }

    public void setFlowBriefName(String flowBriefName) {
        this.flowBriefName = flowBriefName;
    }





}
